.class Lcom/xingbook/park/fragment/o;
.super Landroid/os/AsyncTask;


# instance fields
.field final synthetic a:Lcom/xingbook/park/fragment/HomeTodayFragment;


# direct methods
.method private constructor <init>(Lcom/xingbook/park/fragment/HomeTodayFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/xingbook/park/fragment/HomeTodayFragment;Lcom/xingbook/park/fragment/o;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/fragment/o;-><init>(Lcom/xingbook/park/fragment/HomeTodayFragment;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/fragment/o;)Lcom/xingbook/park/fragment/HomeTodayFragment;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    return-object v0
.end method


# virtual methods
.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Void;
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    iget-boolean v0, v0, Lcom/xingbook/park/fragment/HomeTodayFragment;->b:Z

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-object v2

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->b(Lcom/xingbook/park/fragment/HomeTodayFragment;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/xingbook/park/fragment/HomeTodayFragment;->b:Z

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->c(Lcom/xingbook/park/fragment/HomeTodayFragment;)Lcom/xingbook/park/fragment/q;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/park/fragment/q;->sendEmptyMessage(I)Z

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/fragment/p;

    invoke-direct {v1, p0}, Lcom/xingbook/park/fragment/p;-><init>(Lcom/xingbook/park/fragment/o;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method protected a(Ljava/lang/Void;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/o;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->d(Lcom/xingbook/park/fragment/HomeTodayFragment;)Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->k()V

    invoke-super {p0, p1}, Landroid/os/AsyncTask;->onPostExecute(Ljava/lang/Object;)V

    return-void
.end method

.method protected varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1

    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/xingbook/park/fragment/o;->a([Ljava/lang/Void;)Ljava/lang/Void;

    move-result-object v0

    return-object v0
.end method

.method protected synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0

    check-cast p1, Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/xingbook/park/fragment/o;->a(Ljava/lang/Void;)V

    return-void
.end method
